package com.lzw.security.service;

import com.lzw.security.entity.*;
import com.lzw.security.exception.TidcNulException;
import com.lzw.security.ov.UserOV;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * @author ：冯涛滔
 * @date ：Created in 2020-3-28 20:50
 * @description：
 * @modified By：
 * @version:
 */
public interface CheckService {
    UserOV<List<List<Category>>> getIndexCategoryList();
    UserOV<List<List<Category>>> getCategoryList();
    public UserOV<List<Dosing>> getAllDosing();
    UserOV<Map<String,Object>> checkCommodityInCategory(Category category) throws TidcNulException;
    UserOV<Map<String,Object>> checkAdminCommodityInCategory(Category category) throws TidcNulException;
    UserOV<List<Seckill>> getSeckillList();
    UserOV<List<Cart>> getUserCartList(HttpServletRequest req) throws TidcNulException;
    UserOV<Accessory> getAccessoryDosing(int id);
    UserOV<List<Accessory>> getAccessoryAll();
    UserOV<List<Coupon>> getCoupon();
    UserOV<List<User>> getUserAll();

}
